Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR1] refactoring :apps build and adding spark3.5/iceberg1.5 artifact #255

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

cbb330
Copy link
Collaborator

@cbb330 cbb330 commented Nov 16, 2024

Summary

This is Part 1 of 2 for enabling compaction based MoR.

  1. bring spark3.5 for creating delete files in testing
  2. enable delete file compaction in spark3.1/spark3.5 and add unittests for such in spark3.5

problem: enabling Merge-on-Read for customer tables requires the ability to compact delete files. Compacting delete files is supported in spark3.1/iceberg1.2 but requires us to test it. We cannot test it, because creating delete files is not supported in spark3.1 (only compacting existing ones).

solution: we add spark3.5/iceberg1.5 compaction application, which extends the existing compaction test suite. in a follow up PR, we will add tests which create delete files and compacts the delete files under the latest versions.

Changes

  • Client-facing API Changes
  • Internal API Changes
  • Bug Fixes
  • New Features
  • Performance Improvements
  • Code Style
  • Refactoring
  • Documentation
  • Tests

Testing Done

  • Manually Tested on local docker setup. Please include commands ran, and their output.
  • Added new tests for the changes made.
  • Updated existing tests to reflect the changes made.
  • No tests added or updated. Please explain why. If unsure, please feel free to ask for help.
  • Some other form of testing like staging or soak time in production. Please explain.

all tests running on spark3.1 and spark3.5:
image

correct spark version resolutions for test runtime:
image

correct spark version resolutions for runtime:
image

Additional Information

  • Breaking Changes
  • Deprecations
  • Large PR broken into smaller PRs, and PR plan linked in the description.

For all the boxes checked, include additional details of the changes made in this pull request.

@cbb330 cbb330 changed the title WIP: [GA Merge-on-Read] enabling compaction for MoR related delete files WIP: [GA Merge-on-Read] refactoring :apps build and adding spark3.5/iceberg1.5 artifact Nov 18, 2024
@cbb330 cbb330 closed this Nov 18, 2024
@cbb330 cbb330 reopened this Nov 18, 2024
@autumnust
Copy link
Collaborator

Is this ready for review?

@cbb330
Copy link
Collaborator Author

cbb330 commented Nov 19, 2024

Is this ready for review?

@autumnust waiting on #221 to merge so i can rebase. this PR is forked from that.

if you want you can compare the commit delta here: https://github.com/linkedin/openhouse/pull/255/files/770a6d0497b9af7b1bedb876cbf639b71b3a9822..94c5100d5aa780a373ee5d0e14394ecdcec2f561

@cbb330 cbb330 changed the title WIP: [GA Merge-on-Read] refactoring :apps build and adding spark3.5/iceberg1.5 artifact [GA Merge-on-Read] refactoring :apps build and adding spark3.5/iceberg1.5 artifact Nov 24, 2024
Copy link
Collaborator

@jiang95-dev jiang95-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the new module! One major request is to use iceberg-convention-1.2.gradle and iceberg-convention-1.5.2.gradle to avoid duplicate code.

settings.gradle Show resolved Hide resolved
libs/datalayout/build.gradle Show resolved Hide resolved
apps/spark/build.gradle Show resolved Hide resolved
apps/spark-3.5/build.gradle Outdated Show resolved Hide resolved
libs/datalayout/build.gradle Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
apps/spark/build.gradle Outdated Show resolved Hide resolved
@sumedhsakdeo sumedhsakdeo changed the title [GA Merge-on-Read] refactoring :apps build and adding spark3.5/iceberg1.5 artifact [PR1] refactoring :apps build and adding spark3.5/iceberg1.5 artifact Nov 26, 2024
settings.gradle Show resolved Hide resolved
settings.gradle Show resolved Hide resolved
libs/datalayout/build.gradle Show resolved Hide resolved
Copy link
Collaborator

@jiang95-dev jiang95-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the comments!

@cbb330 cbb330 merged commit 4801b18 into linkedin:main Dec 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants